package com.youoor.dao;

import java.util.List;

import com.youoor.common.base.BaseDao;
import com.youoor.domain.UserCard;
import com.youoor.domain.UserCardQuery;

public interface UserCardDao extends BaseDao<UserCard,UserCardQuery,Integer>{

	public  void editCard(UserCard userCard);
	public  Integer newCard(UserCard userCard);
	
	public UserCard getUserCardByUserId(Integer userId);
	
	public List<UserCard> getCardListForLatest(Integer cardId,Integer num);
	
	public List<UserCard> getCardListForView(Integer pageIndex,Integer limit);
	List<UserCard> getUserRecommendCardForView(int limit);
	
}
